import { Bot_msg } from "../../model/bot/bot_msg";
import server from "../../model/client/server";
import { mathType, packge } from "../../model/msgHandle/packge";

class index extends packge {

    constructor() {
        super()
    }
    init(): void {
        server.lisentMsg('Action', ((data) => {
            console.log('acntion:::',data.template)
            const module = require(`../../template/${data.template}`);
            module.default(data);
        }), this)
    }
}
export default new index();